﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Microsoft.Xna.Framework; // Xna Stuff
using Microsoft.Xna.Framework.Input;
using Microsoft.Xna.Framework.Graphics;
using Microsoft.Xna.Framework.Content; // Input Reference we need to include here

namespace LandBaron.Controllers
{
    public class KeyBoardController
    {
        public KeyBoardController()
        {
        }

        // Just Checking for the Escape key atm
        /// <summary>
        /// Checks for the Escape key being pressed
        /// </summary>
        /// <returns>true if escape was pressed</returns>
        public bool EscapeKey()
        {
            if (Keyboard.GetState().IsKeyDown(Keys.Escape) == true)
            {
                return true;
            }
            else
            return false;
        }
    }
}
